import Layout from '@/layout'


export default {
    path: '/employee',
    component: Layout,
    name: 'employee',

    children: [
    {
        path: '',
        name: 'employee',
        component: () => import('@/views/employee'),
        // 路由元信息
        meta: {
            title: '员工',
            icon: 'people'
        }
    },
    {
      path: '/employee/detail/:id?',
      component: () => import ('@/views/employee/deetail.vue'),
      hidden: true,
      meta: {
        title: '员工详情',
        icon: 'none'
      }
    }
    ]
  
  }